<!--
 * @Author: hq
 * @Date: 2022-05-23 16:21:16
 * @LastEditors: hq
 * @LastEditTime: 2022-05-23 16:21:35
 * @Description: your project
 * @version: 1.0
-->
<template>
  <div>
    <div class="rowData">
      <div class="col1">后台管理路径</div>
      <div class="col2">
        <el-input v-model="yuming" placeholder="请填写后台管理路径"></el-input>
      </div>
      <div class="col3">
        必须以.php为后缀
        <div>调用方式<span>config('sys.admin_path')</span></div>
      </div>
    </div>
    <div class="rowData">
      <div class="col1">扩展配置分组</div>
      <div class="col2">
        <el-input
          type="textarea"
          maxlength="100"
          :rows="4"
          show-word-limit
          v-model="yuming"
          placeholder="请填写扩展配置分组"
        ></el-input>
      </div>
      <div class="col3">
        <p>请按如下格式填写：</p>
        <p>键值:键名</p>
        <p>键值:键名</p>
        <p class="red">键值只能为英文、数字、下划线</p>
        <div>调用方式<span>config('sys.config_group')</span></div>
      </div>
    </div>
    <div class="rowData">
      <div class="col1">开发模式</div>
      <div class="col2">
        <el-switch
          class="tablescope"
          v-model="switchValue"
          :active-color="$color - primary1"
          inactive-color=""
          active-text="开启"
          inactive-text="关闭"
        >
        </el-switch>
      </div>
      <div class="col3">
        <div class="red">生产环境下一定要关闭此配置</div>
        <div>调用方式<span>config('base.app_debug')</span></div>
      </div>
    </div>
    <div class="rowData">
      <div class="col1">页面Trace</div>
      <div class="col2">
        <el-switch
          class="tablescope"
          v-model="switchValue"
          :active-color="$color - primary1"
          inactive-color=""
          active-text="开启"
          inactive-text="关闭"
        >
        </el-switch>
      </div>
      <div class="col3">
        <div class="red">生产环境下一定要关闭此配置</div>
        <div>调用方式<span>config('base.app_trace')</span></div>
      </div>
    </div>
    <div class="rowData">
      <div class="col1">多语言支持</div>
      <div class="col2">
        <el-switch
          class="tablescope"
          v-model="switchValue"
          :active-color="$color - primary1"
          inactive-color=""
          active-text="开启"
          inactive-text="关闭"
        >
        </el-switch>
      </div>
      <div class="col3">
        <div class="red">开启后你可以自由上传多种语言包</div>
        <div>调用方式<span>config('base.multi_language')</span></div>
      </div>
    </div>
    <div class="rowData">
      <div class="col1">后台白名单验证</div>
      <div class="col2">
        <el-switch
          class="tablescope"
          v-model="switchValue"
          :active-color="$color - primary1"
          inactive-color=""
          active-text="启用"
          inactive-text="禁用"
        >
        </el-switch>
      </div>
      <div class="col3">
        禁用后不存在的菜单节点将不在提示
        <div>调用方式<span>config('base.admin_whitelist_verify')</span></div>
      </div>
    </div>
    <div class="rowData">
      <div class="col1">系统日志保留</div>
      <div class="col2">
        <el-input v-model="info" placeholder="请填写系统日志"></el-input>
      </div>
      <div class="col3">
        单位天，系统将自动清除 ? 天前的系统日志
        <div>调用方式<span>config('sys.system_log_retention')</span></div>
      </div>
    </div>
    <div class="rowData">
      <div class="col1"></div>
      <div class="col2">
        <el-button type="primary">提交</el-button>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
@import "@/style/index.scss";
.rowData {
  display: flex;
  align-items: center;
  padding-top: 20px;
  box-sizing: border-box;
  .col1 {
    width: 10%;
    text-align: end;
    font-size: 14px;
  }
  .col2 {
    width: 20%;
    padding: 0 20px;
    box-sizing: border-box;
    /deep/.avatar-uploader .el-upload {
      border: 1px dashed #d9d9d9;
      border-radius: 6px;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }
    .avatar-uploader .el-upload:hover {
      border-color: #409eff;
    }
    .avatar-uploader-icon {
      font-size: 28px;
      color: #8c939d;
      width: 80px;
      height: 80px;
      line-height: 80px;
      text-align: center;
    }
    .avatar {
      width: 80px;
      height: 80px;
      display: block;
    }
  }
  .col3 {
    font-size: 12px;
    color: #666666;
    span {
      color: $color-primary1;
    }
  }
}
</style>
